{config_load file="$language/lang.conf" section="boxes"}
{$FORM_ACTION}
<div class="block b-gray">
	<div class="top"><h3 class="bold">{#heading_add_a_quickie#}</h3></div>
	<div class="cen">
		<div class="block-content-pad newsletter">
			<span>{$INPUT_FIELD}</span><span>{$SUBMIT_BUTTON}</span>
			<div class="clear"></div>
			<div class="ajaxAddQuickie" id="ajaxAddQuickie" style="text-align: left;"></div>
		</div>
	</div>
	<div class="foo"></div>
</div>
{$FORM_END}
{literal}
<script language="javascript" type="text/javascript">
	function ajaxAddQuickie(elt) {
//		if(ajaxAddQuickieUpForm.quickie.value.length > 2)
			loadXMLDoc('ajaxAddQuickie', hashFormFields(ajaxAddQuickieUpForm), true);
	}
	var timeout = null;
	var ajaxAddQuickieUpForm = null;
	function ajaxAddQuickieUp(elt) {
		ajaxAddQuickieUpForm = elt.form;
	  if (timeout) clearTimeout(timeout);
	  timeout = setTimeout('ajaxAddQuickie()', 500);
	}
</script>
{/literal}